package com.hibase.core.interfacetask.entity.vo;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 接口业务类型表
 * </p>
 *
 * @author zhou_jw
 * @since 2020-08-21
 */
@Data
@HibaseValid
@ApiModel(value="MdsInterfaceTypeListVO对象", description="接口业务类型表列表展示VO")
public class MdsInterfaceTypeListVO {

    @ApiModelProperty(value = "接口业务类型code")
    private String businessTypeCode;

    @ApiModelProperty(value = "接口业务类型名称")
    private String businessTypeName;

    @ApiModelProperty(value = "请求url")
    private String url;

    @ApiModelProperty(value = "正常管道")
    private String topicNameNormal;

    @ApiModelProperty(value = "补偿管道")
    private String topicNameException;

    @ApiModelProperty(value = "启用/禁用")
    private Boolean beActive;

    @ApiModelProperty(value = "请求类型(接收/发送)")
    private String requestType;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "发送方")
    private String senderSys;

    @ApiModelProperty(value = "接收方")
    private String receiverSys;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date updateTime;

    @ApiModelProperty(value = "是否删除")
    private Boolean beDeleted;


}
